package com.butterfly.domain.entity;


import javax.persistence.Entity;
import javax.persistence.ManyToOne;

@Entity
public class MerchantAd extends BaseEntity {

    private static final long serialVersionUID = 7846343195381116974L;

    @ManyToOne
    private Merchant merchant;

    private String description;

    private String size;

    private AdType adType;

    private AdCategoryType categoryType;

    private byte[] data;

    public Merchant getMerchant() {
        return merchant;
    }

    public void setMerchant(Merchant merchant) {
        this.merchant = merchant;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public AdCategoryType getCategoryType() {
        return categoryType;
    }

    public void setCategoryType(AdCategoryType categoryType) {
        this.categoryType = categoryType;
    }

    public AdType getAdType() {
        return adType;
    }

    public void setAdType(AdType adType) {
        this.adType = adType;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }
}
